package api

import (
	"lib/core/log"
	"lib/server/web"
)

var ClientApiInstance = new(ClientApi)

type ClientApi struct {
}

func (this *ClientApi) Get(ctx *web.Context) {

	log.Info(map[string]interface{}{
		"id": ctx.Param.Get("id"),
	})

	ctx.OutputJson(map[string]interface{}{
		"ID":   1,
		"Name": "YiDe",
	})
}
